Error occurred in deployment step ‘Add Solution’: Value does not fall within the expected range.

Posted by ybbest on YBBest See other posts from YBBest or by ybbest
Published on Tue, 26 Oct 2010 23:25:29 +0000 Indexed on 2010/12/30 22:01 UTC
Read the original article Hit count: 587

Filed under:

I got this error when I deploy a new content type into SharePoint2010.This error message is not very helpful after a few hours of hard work, I find out there is a dash(-) in my contentID.It happen when I generate GUID using visual studio tool and copy it to the ID and forgot to delete the dash.

After correct this, I press deploy again, it works like charm. If you got this error double-check your contentID. If you are not quite sure what is a

Valid contentTypeID, check the MSDN documentation here.

 


© YBBest or respective owner

Related posts about SharePoint 2010